import { get } from './index'
import { getPath } from '@/utils/utils'

export default async function () {
  const { data } = await get(`/admin/survey/${getPath()}`)
  return data.data
}